package vn.ugame.model.entity;

@Entity
public class Customer {

    @Collumn(name = "customerId")
    private String id;
    private Account account;
    @Collumn(name = "fullName")
    private String fullName;
    @Collumn(name = "phoneNumber")
    private String phoneNumber;
    @Collumn(name = "newsletter")
    private boolean newsletter;
    @Collumn(name = "uCoin")
    private String uCoin;

    public Customer(String id, String fullName, String phoneNumber, boolean newsletter, String uCoin) {
        this.id = id;
        this.fullName = fullName;
        this.phoneNumber = phoneNumber;
        this.newsletter = newsletter;
        this.uCoin = uCoin;
    }

    public Customer() {
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isNewsletter() {
        return newsletter;
    }

    public void setNewsletter(boolean newsletter) {
        this.newsletter = newsletter;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getuCoin() {
        return uCoin;
    }

    public void setuCoin(String uCoin) {
        this.uCoin = uCoin;
    }
}
